notebook: Add missing return statement
authorBenjamin Otte <otte@redhat.com>
Sat, 26 Jan 2019 14:07:52 +0000 (15:07 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 15 Apr 2019 12:38:23 +0000 (14:38 +0200)
Previously, the code would just fall thrrough and repeat an operation it
had tried before, but that seems quite unnecessary.

gtk/gtknotebook.c

index 6de6c7e501d4097dd3641c9ca581ad666316cb12..0b1d8f73912fd11728666df774c9de9733c685ee 100644 (file)
@@ -3780,6 +3780,7 @@ gtk_notebook_focus (GtkWidget        *widget,
             return TRUE;
           if (focus_action_in (notebook, first_action, direction))
             return TRUE;
+          return FALSE;
         case GTK_DIR_UP:
         case GTK_DIR_LEFT:
         case GTK_DIR_RIGHT: